# en
CONTENT_TYPE = "application/json"
FILE_ADDRESS = "http://114.116.72.220:9999/"
APP_ID = 'wx0a73c09e45cfeb1f'
SECRET = '75155a3641e9c6808fc7af8aa7f5071f'
LOCATION_INTERFACE = "https://api.map.baidu.com/geocoder/v2/?ak=SqMInuLPNWbDBa6U0QGtGcLe9OpS4x06&location=%s,%s&output=json"
# 商户ID
MCH_ID = '1517607461'
# 支付秘钥
PAYMENT_KEY = 'Puer20181114shanxishengxianshi15'

PICTURE = "/picture/"
# 订单状态
OVERHANG = 1  # 待上门
WAITRECV = 2  # 待收货
FINISH = 3  # 完成
COUNTERMAND = 4  # 取消
# 活动状态
END = 0  # 结束
UNDERWAY = 1  # 进行中
ON = 1
UNON = 2
# 支付状态
WAIT = 1
SUCCESS = 2
FAIL = 3

DEFAULT_MONEY = 0.00
WAITGO = 1  # 待审核
GO = 2  # 审核通过
REFUSE = 3  # 审核失败

YES = 1  # 是
NO = 0  # 否

USE = 1  # 使用
DELETE = 0  # 删除

VIPNUM = 1
NOW = 1
UNTREATED = 0  # 未处理
PROCESSED = 1  # 已处理
# 钱包明细消费类型
RECHARGE = 1  # '充值'
CONSUME = 2  # 消费
WITHDRAW = 3  # 提现
# 支付账单 支付类型
BUY = 1  # 购买
PAYRECHARGE = 2  # 充值
# 活动状态
ACTIVITY_PROCESSING = 1
ACTIVITY_END = 0

# 团购处理状态
# 未处理
UNPROCESSED = 0
# 已处理
PROCESSED = 1  # 上架
GETDOWN = 2  # 下架

# 商品状态
PRODUCT_STATE = 1
# 商品下架
PRODUCT_STATE_OBTAINED = 2
# 商品排序
PRODUCT_SORT = 1

# zh
ROLE = ["占位", "高级管理员", "普通管理员", "商品管理员", "订单管理员"]
PENDING_PAYMENT = "待付款"
TO_BE_DELIVERED = "待发货"
PENDING_RECEIPT = "待收货"
COMPLETED = "已完成"
CANCELLED = "已取消"
ALL = "全部"
# 物流公司
DELIVERY_COMPANY = {"顺丰速运": "shunfeng", "圆通快递": "yuantong", "中通快递": "zhongtong", "申通快递": "shentong",
                    "韵达快递": "yunda", "百世快递": "huitongkuaidi", "京东快递": "jd", "邮政EMS": "emsbg",
                    "天天快递": "tiantian", "宅急送": "zhaijisong", "shunfeng": "shunfeng", "yuantong": "yuantong",
                    "zhongtong": "zhongtong", "shentong": "shentong", "yunda": "yunda",
                    "huitongkuaidi": "huitongkuaidi",
                    "jd": "jd", "emsbg": "emsbg", "tiantian": "tiantian", "zhaijisong": "zhaijisong"}

MENS = "男装"
WOMENS = "女装"
CHILDRENS_WEAR = "童装"
BUSINESS_ATTIRE = "职业装"
PRICE = "价格"

MODEL = "版型"
DIOR = "迪奥"
CASUAL = "休闲"
BUSINESS = "商务"

ORDER = "顺序"
REVERSE_ORDER = "倒序"

COMPANY_NAME = '璞迩'

# 支付动作
PAYMENT_ACTION = "充值"
PAYMENT_BUY = "消费"
# 支付类型
PAYMENT_KIND = '微信支付'
BALANCE_PAYMENT = '余额支付'

# 默认定位城市
DEFAULT_LOCATION_CITY = "西安"
